<template>
  <div class="father">
    <h1>I`m the father</h1>
    <p>我的身家{{ money }}元</p>
    <son :mymoney="money"></son>
    <brother></brother>
  </div>
</template>

<script>
import son from "./son";
import brother from "./brother";

export default {
  components: { son },
  data() {
    return {
      money: "100W",
    };
  },
  components: {
    son,
    brother,
  },
};
</script>

<style lang="less" scoped>
.father {
  width: 100%;
  background-color: pink;
  padding: 10px;
}
</style>
